package com.csii.excelapp.entity;

public enum SentinelEnum {
    CURRENT_LIMIT(100, "系统限流"),
    DEGRADATION(101, "系统降级"),
    HOT_PARAMS_CURRENT_LIMIT(102, "热点参数限流"),
    RULE_LIMIT(103, "系统规则（负载/...不满足要求）"),
    AUTH_RULE_FAIL(104, "（授权规则不通过）"),
    AUTH_FAIL(105, "身份验证不通过");

    private int type;
    private String description;

    public int getType() {
        return this.type;
    }

    public String getDescription() {
        return this.description;
    }

    private SentinelEnum(final int type, final String description) {
        this.type = type;
        this.description = description;
    }
}
